/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DTO;

import java.util.Comparator;

/**
 *
 * @author TOSHIBA
 */
public class TagPointComparator implements Comparator<Tag> {

    public int compare(Tag o1, Tag o2) {
        return  o2.getPoint()-o1.getPoint();
    }

}
